﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;

namespace SOEI.Solution.DomainEntities.PurQualificationAudit
{
    /// <summary>
    /// 家庭成员信息变更表
    /// </summary>
    [Table("YW_GFZGSCSQJTCYBGXX")]
    public class PurFamilyMemberChange : Entity<string>
    {
        /// <summary>
        ///主键Id--购房资格审查申请变更编号
        /// </summary>
        [Column("GFZGSCSQJTCYBGBH")]
        public override string Id { get; set; }

        /// <summary>
        ///购房资格审查申请编号
        /// </summary>
        [Column("GFZGSCSQBH")]
        public string GFZGSCSQBH
        {
            get;
            set;
        }

        /// <summary>
        ///购房资格审查申请家庭成员编号
        /// </summary>
        [Column("GFZGSCSQJTCYBH")]
        public string GFZGSCSQJTCYBH
        {
            get;
            set;
        }

        /// <summary>
        ///姓名
        /// </summary>
        [Column("XM")]
        public string XM
        {
            get;
            set;
        }

        /// <summary>
        ///家庭成员关系代码
        /// </summary>
        [Column("JTCYGXDM")]
        public string JTCYGXDM
        {
            get;
            set;
        }

        /// <summary>
        ///证件类型代码
        /// </summary>
        [Column("ZJLXDM")]
        public string ZJLXDM
        {
            get;
            set;
        }

        /// <summary>
        ///证件号码
        /// </summary>
        [Column("ZJHM")]
        public string ZJHM
        {
            get;
            set;
        }

        /// <summary>
        ///户口类型代码
        /// </summary>
        [Column("HKLXDM")]
        public string HKLXDM
        {
            get;
            set;
        }

        /// <summary>
        ///是否购房人代码
        /// </summary>
        [Column("SFGFRDM")]
        public string SFGFRDM
        {
            get;
            set;
        }

        [Column("SM")]
        public string SM
        {
            get;
            set;
        }

        /// <summary>
        ///联系电话
        /// </summary>
        [Column("LXDH")]
        public string LXDH
        {
            get;
            set;
        }

        /// <summary>
        ///联系地址
        /// </summary>
        [Column("LXDZ")]
        public string LXDZ
        {
            get;
            set;
        }

        /// <summary>
        ///变更人编号
        /// </summary>
        [Column("BGRBH")]
        public string BGRBH
        {
            get;
            set;
        }

        /// <summary>
        ///变更时间
        /// </summary>
        [Column("BGSJ")]
        public DateTime? BGSJ
        {
            get;
            set;
        }

        #region ----------------------------------------------------新增----------------------------------------------------
        /// <summary>
        /// 数据来源：XMS-->新模式用来区分老系统
        /// </summary>
        public string SJLY { get; set; }
        #endregion
    }
}
